@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <input id="id" type="hidden" name="主键id" value="${item.id}" underline="true"/>
            <div class="row">
                <div class="col-sm-6 b-r">
                    <div class="form-group">
                        <label class="col-sm-3 control-label">区域</label>
                        <div class="col-sm-9">
                            <select id="region" class="form-control col-sm-9">
                                @if(item.region == 'DL'){
                                <option value="DL" selected="selected">丹棱</option>
                                <option value="PS">彭山</option>
                                @}
                                @if(item.region == 'PS'){
                                <option value="DL">丹棱</option>
                                <option value="PS" selected="selected">彭山</option>
                                @}
                            </select>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6">
                    <#input id="url" name="url路径" value="${item.url}" underline="true" placeholder="用于记录访问路劲"/>
                </div>
                <div class="col-sm-12">
                    <div class="form-group">
                        <label class="col-sm-2 control-label" for="content">主要内容</label>
                        <textarea id="content" class="col-sm-9" style="resize:none;min-height: 74vh;">${item.content}</textarea>
                    </div>
                </div>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="WebInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="WebInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/web/web_info.js"></script>
@}
